﻿using System.Collections.Generic;
using System.Threading.Tasks;
using LPP.Entity.Orders;

namespace LPP.Service.Payment;

public interface IWeChatPayService
{
    Task<string> CreatePaymentAsync(Order order);
    bool VerifyNotify(Dictionary<string, string> parameters);
    Task<bool> VerifyPaymentAsync(string orderId, string tradeNo);
    Task<bool> HandlePaymentNotifyAsync(Dictionary<string, string> parameters);
}
